@foreach ($filters as $key => $option)
    <div class="btn-group">
        @if ($option['type'] == 'select')
            {!! Form::select("f[$key]", $option['options'], $option['default'], ['class' => 'form-control input']) !!}
        @endif
        @if ($option['type'] == 'input')
            {!! Form::input('text',"f[$key]", $option['default'], ['class' => 'form-control input', 'placeHolder' => '输入终端名']) !!}
        @endif
    </div>
@endforeach